dataset="cifar100"
mode="sym"
percent=0.5
seed=0
threshold=0.5
pl_start_epoch=10
pl_end_epoch=150
loss_pl_param=0.4
T=0.6
gpu="0"

seed_array=(3 4)

# mkdir results_final/${dataset}
mkdir results_final/${dataset}/${mode}_${percent}

for seed in ${seed_array[@]}
do
    config=config_${dataset}.json
    name=${dataset}_${mode}_${percent}_seed_${seed}
    CUDA_VISIBLE_DEVICES=${gpu} python train_with_pl.py \
        -c ${config} --percent ${percent} --seed ${seed} --name ${name} --threshold ${threshold} \
        --pl_start_epoch ${pl_start_epoch} --pl_end_epoch ${pl_end_epoch} --loss_pl_param ${loss_pl_param} --T ${T} \
        > results_final/${dataset}/${mode}_${percent}/${name}.log
done